home *** CD-ROM | disk | FTP | other *** search
/ The Forgotten Realms Archives (Silver Edition) / The Forgotten Realms Archives - Silver Edition.iso / DARKMOON / INSTALL.BAT < prev    next >
DOS Batch File  |  1997-02-19  |  1KB  |  47 lines

  1. echo off
  2. cls
  3. echo %0
  4. pause
  5. if "%0.bat" == "install.bat" goto fine
  6. echo Please change to the directory that contains the
  7. echo Eye of the Beholder II Program and re-run install.
  8. echo Note: type "install" in all lower-case letters.
  9. goto exit
  10.  
  11. :fine
  12. if "%1" == "" goto nodrive
  13. if "%2" == "" goto nodrive
  14. echo Installing as %1:\%2
  15. md %1:\%2
  16. xcopy install.bat %1:\%2 /s
  17. if not exist %1:\%2\install.bat goto died
  18. copy *.* %1:\%2 >nul
  19. if exist wolf.cps goto cdone
  20.  
  21. :nodrive
  22. echo Usage: install X Y
  23. echo where X=letter of your hard disk.
  24. echo where Y=name of the directory
  25. echo Example: install c DARKMOON
  26. goto exit
  27.  
  28. :died
  29. echo There was an error creating %1:\%2
  30. echo Eye of the Beholder II was not installed.
  31. goto exit
  32.  
  33. :wrongo
  34. echo Install must be run from the Eye of the Beholder II Cd only.
  35. goto exit
  36.  
  37. :cdone
  38. cd %1:\%2
  39. %1:
  40.  
  41. cls
  42. echo Eye of the Beholder II is now installed.
  43. echo Run SETUP.EXE to configure the game
  44. echo Run START.EXE to play Eye of the Beholder II
  45. :exit
  46.  
  47.